package edu.guet.observer.exmple;

import edu.guet.observer.exmple.Observer;

public abstract class Subject {

    private String action;

    public abstract void attach(Observer observer);

    public abstract void detach(Observer observer);

    public abstract void subjectNotify();


    public String getAction() {
        return action;
    }

    public void setAction(String action) {
        this.action = action;
    }
}
